Elementor\Core\Utils\Collection A

Total Complexity 74
Dependencies 3
Dependents 28
Total lines 525
Lines of code 237
Logical lines of code 125
Comment lines 206
Methods 37
Properties 1

Methods 37

Method Rating Maintainability Complexity Lines of code
unique()
S
52 6 26
flatten()
S
59 5 15
get_item_value()
S
65 5 9
contains()
S
61 4 13
each()
S
67 3 8
some()
S
67 3 8
find()
S
67 3 8
map_with_keys()
S
64 3 10
first()
S
68 3 8
merge()
S
70 2 6
get()
S
71 2 6
filter()
S
70 2 6
reduce()
S
68 2 7
merge_recursive()
S
70 2 6
replace_recursive()
S
70 2 6
push()
S
71 2 6
offsetSet()
S
69 2 7
sort_keys()
S
66 2 9
group_by()
S
66 2 8
pluck()
S
68 2 7
offsetUnset()
S
80 1 3
offsetGet()
S
80 1 3
offsetExists()
S
79 1 3
getIterator()
S
80 1 3
count()
S
80 1 3
prepend()
S
75 1 4
map()
S
72 1 5
is_empty()
S
80 1 3
values()
S
80 1 3
all()
S
82 1 3
keys()
S
80 1 3
union()
S
79 1 3
make()
S
80 1 3
only()
S
73 1 5
except()
S
73 1 5
implode()
S
79 1 3
__construct()
S
81 1 3